/* ==========================================================
   MY CAMPAIGNS DASHBOARD (Scoped Theme)
   ========================================================== */

.camp-app-wrapper {
  background-color: #080d19;
  min-height: 88vh;
  padding-top: 95px !important; /* Top space for sticky/fixed navbar */
}

/* Header */
.camp-brand-icon {
  font-size: 26px;
  background: #131f38;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #1c2b4a;
}

/* Responsive Cards Grid */
.camp-grid-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

@media (max-width: 576px) {
  .camp-grid-row {
    grid-template-columns: 1fr;
  }
}

/* Individual Campaign Card */
.camp-card {
  background: #0d1527;
  border: 1px solid #1c2b4a;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.camp-card:hover {
  transform: translateY(-2px);
  border-color: #2b4170;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}

/* Card Header & Badges */
.camp-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.camp-type-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0;
}

.camp-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.camp-status-active {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.camp-status-inactive {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Business Narrative Preview */
.camp-desc-box {
  background: #080d19;
  border: 1px solid #16233d;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 16px;
}

.camp-desc-text {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Metadata Subgrid */
.camp-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.camp-meta-item {
  background: #0a1120;
  border: 1px solid #16233d;
  border-radius: 6px;
  padding: 8px 10px;
}

.camp-meta-label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.camp-meta-val {
  font-size: 12.5px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card Actions Bottom */
.camp-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #16233d;
}

.btn-camp-delete {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-camp-delete:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #ffffff;
}

.btn-camp-delete:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Empty, Loading & Error States */
.camp-state-card {
  grid-column: 1 / -1;
  background: #0d1527;
  border: 1px dashed #1c2b4a;
  border-radius: 12px;
  padding: 60px 20px;
  text-align: center;
}

.camp-state-icon {
  font-size: 40px;
  margin-bottom: 12px;
  color: #38bdf8;
}

.camp-state-card h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 6px;
}

.camp-state-card p {
  color: #94a3b8;
  font-size: 13.5px;
  max-width: 440px;
  margin: 0 auto 16px;
}